<script>
$('#answer-<%= @answer_id %>-comment-section').before('<%= escape_javascript(render partial: "notes/comment", locals: {comment: @comment, answer_id: @answer_id}) %>')
$('#answer-<%= @answer_id %>-comment-<%= @comment.id %>').show()
$('#answer-<%= @answer_id %>-comment-count')[0].innerHTML = parseInt($('#answer-<%= @answer_id %>-comment-count')[0].innerHTML) + 1
$('#answer-<%= @answer_id %>-comment-form textarea').val('');
$('#answer-<%= @answer_id %>-comment-section .help-block').remove();
notyNotification('mint', 3000, 'success', 'topRight', 'Comment Added!');
</script>
